package com.zx.mapper;

import com.zx.bean.Manager;
import com.zx.bean.User;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface UserMapper {
    //添加单个用户
    public abstract int addUser(User user);
    //删除用户
    public abstract int delUser(int id);
    //修改用户信息
    public abstract User updateUser(int id);
    //查询单个用户信息
    public abstract User findOneUser(int id);
    //查询全部用户信息
    public abstract List<User> findAllUser();
}
